<?php
drupal_add_css('css/style.dev1.css');
drupal_add_js('js/jquery.validate.min.js');
drupal_add_js('js/script.category.js');
drupal_add_js('misc/collapse.js');
echo l('Quay lại', 'back-end/filter/property/' . hexID($data['filter']->cate_id) . '/group/' . hexID($data['filter']->filter_group));
?>
<fieldset class="menu-item-form collapsible collapsed">
    <legend class="menu-item-form collapsible"><a style="cursor: pointer">Thêm giá trị mới</a></legend>
    <form name="add_filter_name" id="add_filter_name" action="" method="POST">
        <div>
            <div class="node-form">
                <div class="standard">
                    <div id="content-inner">
                        <?php
                        $access = user_access('admin block');
                        for($i = 1; $i <= 5; $i++) {
                            ?>
                            <div class="form-item">
                                <label class="label-in-line" for="property_name">Giá trị:</label>
                                <input type="text" value="" size=50" id="property_name" name="property_name[]" maxlength="255" style="margin-right: 70px" />
                                
                                <label class="label-in-line" for="property_name">Giá trị:</label>
                                <input type="text" value="" size=50" id="property_name" name="property_name[]" maxlength="255" />
                            </div>
                            <?php
                        }
                        ?>
                    </div>    
                    <img id="add_row" style="cursor: pointer; margin: 0px 10px;" src="<?php echo base_path() ?>images/add_row.png" alt="Thêm 1 dòng" title="Thêm 1 dòng" />
                    <br />
                    <input type="hidden" name="filter_id" id="filter_id" value="<?php echo $data['filter']->filter_id ?>" readonly="true" />                    
                    <input type="submit" value="Lưu" />                
                    <input type="reset" rel="add_filter_name" value="Nhập lại" />                
                </div>
            </div>
        </div>
    </form>
</fieldset>    